/*
 * ReceiverXml.h
 *
 *  Created on: 03.11.2011
 *      Author: Pavel Sinay
 */

#ifndef RECEIVERXML_H_
#define RECEIVERXML_H_

#include "impl/ReceiverSocket.h"
#include "IListener.h"

namespace net {

class ReceiverXml: public net::ReceiverSocket {
public:
	ReceiverXml();
	virtual ~ReceiverXml();
	/*virtual*/ int onRawReceived(std::vector<char> const &rx_message,
			std::vector<char> &tx_message);

	void subscribe(IListener *listener);

private:
	IListener *m_listener;
};

}

#endif /* RECEIVERXML_H_ */
